//控制公路事件组 传入组 

//若远离了玩家，则删除该组
private _group = _this select 0;
private _end = false;



while {!_end} do
{
	uiSleep 600;
	private _unit = leader _group;
	if((isNull _unit) || {!alive _unit} || {isNull _group} || {count (units _group) == 0}) exitWith{};
	
	private _in = false;
	{	
		if(_x distance _unit < 1200) then
		{
			_in = true;
		}
	}forEach (call fn_getPlayerRed);
	
	
	if(!_in) then
	{
		{
			_x setDamage 1.0;
			
		}forEach units _group;
		
		_end = true;
	};
};

